package com.ouheng.shop.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.ouheng.shop.dao.LebeiSetDao;
import com.ouheng.shop.domain.LebeiSetDO;
import com.ouheng.shop.service.LebeiSetService;



@Service
public class LebeiSetServiceImpl implements LebeiSetService {
	@Autowired
	private LebeiSetDao lebeiSetDao;
	
	@Override
	public LebeiSetDO get(Long id){
		return lebeiSetDao.get(id);
	}
	
	@Override
	public List<LebeiSetDO> list(Map<String, Object> map){
		return lebeiSetDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return lebeiSetDao.count(map);
	}
	
	@Override
	public int save(LebeiSetDO lebeiSet){
		return lebeiSetDao.save(lebeiSet);
	}
	
	@Override
	public int update(LebeiSetDO lebeiSet){
		return lebeiSetDao.update(lebeiSet);
	}
	
	@Override
	public int remove(Long id){
		return lebeiSetDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return lebeiSetDao.batchRemove(ids);
	}
	
}
